package com.csit.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name="T_DataDictionary")
@Cache(usage=CacheConcurrencyStrategy.READ_WRITE)
public class DataDictionary implements Serializable {

	private static final long serialVersionUID = -7530660929776866461L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer dataDictionaryID;
	
	@Column(length=50)
	//unit:单位 shop:店面 storeHouse:仓库  productItem:产品种类  customerSource:客户来源 customerType:客户类别
	private String dataDictionaryType;
	
	@Column(length=255)
	private String dataDictionaryName;
	
	@Column(length=1000)
	private String note;

	public Integer getDataDictionaryID() {
		return dataDictionaryID;
	}

	public void setDataDictionaryID(Integer dataDictionaryID) {
		this.dataDictionaryID = dataDictionaryID;
	}

	public String getDataDictionaryType() {
		return dataDictionaryType;
	}

	public void setDataDictionaryType(String dataDictionaryType) {
		this.dataDictionaryType = dataDictionaryType;
	}

	public String getDataDictionaryName() {
		return dataDictionaryName;
	}

	public void setDataDictionaryName(String dataDictionaryName) {
		this.dataDictionaryName = dataDictionaryName;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}
